package com.nbot.server.properties;

/**
 * 3厂的opc配置属性
 */
public class Opc3chang {
    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public int getServerPort() {
        return serverPort;
    }

    public void setServerPort(int serverPort) {
        this.serverPort = serverPort;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getNetworkTimeout() {
        return networkTimeout;
    }

    public void setNetworkTimeout(int networkTimeout) {
        this.networkTimeout = networkTimeout;
    }

    private String serverName = "172.16.3.41";
    private int serverPort = 5680;
    private String userName = "sa";
    private String password = "sa";
    private int networkTimeout = 0;

    private int interval = 10;
    private boolean opcAlarm = true;

    public int getInterval() {
        return interval;
    }

    public void setInterval(int interval) {
        this.interval = interval;
    }

    public boolean isOpcAlarm() {
        return opcAlarm;
    }

    public void setOpcAlarm(boolean opcAlarm) {
        this.opcAlarm = opcAlarm;
    }
}
